package com.weimall.dao;

import com.weimall.pojo.SpTmdy;
import com.weimall.pojo.SpTmdyExample;
import com.weimall.pojo.SpTmdyKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SpTmdyMapper {
    int countByExample(SpTmdyExample example);

    int deleteByExample(SpTmdyExample example);

    int deleteByPrimaryKey(SpTmdyKey key);

    int insert(SpTmdy record);

    int insertSelective(SpTmdy record);

    List<SpTmdy> selectByExample(SpTmdyExample example);

    SpTmdy selectByPrimaryKey(SpTmdyKey key);

    int updateByExampleSelective(@Param("record") SpTmdy record, @Param("example") SpTmdyExample example);

    int updateByExample(@Param("record") SpTmdy record, @Param("example") SpTmdyExample example);

    int updateByPrimaryKeySelective(SpTmdy record);

    int updateByPrimaryKey(SpTmdy record);
}